package com.damie.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alon
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_advertisement")
public class Advertisement implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 广告id
     */
    private String advId;

    /**
     * 广告图片
     */
    private String advUrl;

    /**
     * 广告链接 可无
     */
    private String advLink;

    /**
     * 对应的站点id
     */
    private Integer siteId;

    /**
     * 广告开始时间
     */
    private LocalDateTime createTime;

    /**
     * 广告结束时间
     */
    private LocalDateTime endTime;

    /**
     * 广告状态1启用2未启用
     */
    private Integer advStatus;


}
